using System;
using System.Collections.Generic;
using System.Text;

namespace ElteIk.RoboSoccer.SDL
{
    public abstract class AudioEngine
    {
        protected static AudioEngine instance = null;
        public static AudioEngine Instance
        {
            get { return instance; }
        }

        public abstract void AddSound( string soundName, string filename );
        public abstract void PlaySound( string soundName, bool loopable );
        public abstract AudioEngine CreateInstance();
    }

    public class AudioException : Exception
    {
        public AudioException(string message)
            : base(message)
        {
        }
    }
}
